<template>
  <div>
    <!-- 底部导航 -->
    <router-view></router-view>
    <van-tabbar router v-model="active" active-color="#03af68">
      <van-tabbar-item replace to="/article" icon="wap-home-o"
        >首页</van-tabbar-item
      >
      <van-tabbar-item replace to="/home" icon="search">找房</van-tabbar-item>
      <van-tabbar-item replace to="/real" icon="newspaper-o"
        >资讯</van-tabbar-item
      >
      <van-tabbar-item replace to="/myhome" icon="contact"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'layout-title',
  data() {
    return {
      active: 0
    }
  },

  created() {},

  methods: {}
}
</script>

<style scoped lang="less">

</style>
